/* 点击高亮我们需要清除 设置为transparent 完成透明 */
*{
    -webkit-tap-highlight-color: transparent;
}
/* 禁用长按页面时弹出的菜单 */
img,a{
    -webkit-touch-callout: none;
}
*{
    margin: 0 ;
    padding: 0;
}
a{
    text-decoration: none;
    color: white;
    font-size: 16px;
}
body{
    min-width: 320px;
    max-width: 414px;
    margin: 0 auto;
    background-color: #f8f8f8;
    font-size: 14px;
    line-height: 1.5;
    font-family: -apple-system,Helvetica,sans-serif;

}

/* 标题部分开始 */
header{
    position: relative;
    width: 100%;
    height: 45px;
    box-sizing: border-box;
}

header p{
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 20px;
}
/* 标题部分结束 */

/* 主体部分开始 */
main{
    width: 100%;
    height: auto;
    background-color: #f7f7f7;
    display: flex;
    flex-wrap: wrap;
}

/* 登陆后 */
.iot_cartlogo{
    width: 100%;
    height: 400px;
    box-sizing: border-box;
    background-color: transparent;
    display: flex;
}
.iot_cartlogo img{
    width: 240px;
    height: 240px;
    margin: auto;
}

/* 登录后商品样式 */
main>div{
    margin: 10px;
    width: 100%;
    height: 120px;
    background-color: white;
    display: flex;
    box-sizing: border-box;
}
.iot_good_input{
    width: 10%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.iot_gooo_input input{
    width: 20px;
    height: 20px;
    border:  1px solid black;
}

input:focus {
    outline: none; /* 去掉默认的外边框阴影 */
  }
.iot_good_img{
    width: 30%;
    height: 100%;
    display: flex;
    box-sizing: border-box;
    padding: 10px;
}
.iot_good_img>img{
    width: 100%;
    height:100%;
}
.iot_good_text{
    width: 60%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}
.iot_good_text p{
    display: flex;
    align-items: center;
    width: 100%;
    height: 60%;
    box-sizing: border-box;
    padding-left: 20px;
    font-size: 16px;
}
.iot_good_text span{
    box-sizing: border-box;
    display: flex;
    width: 100%;
    height: 40%;
    justify-content: end;
    align-items: end;
    padding:0 20px 10px 0;
    font-size: 16px;
    color: rgb(242, 56, 56);

}
/* 登录前 */
.iot_logonbefore{
    background-color: transparent;
    width: 100%;
    height: 500px;
}
.iot_text{
    flex-wrap: wrap;
    display: flex;
    box-sizing: border-box;
    margin: auto;
    width: 220px;
    height: 90px;
}
.iot_text p{
    text-align: center;
    font-size: 15px;
    width: 100%;
    height: 35%;
}
.iot_text div{
    display: flex;
    width: 100%;
    height: 65%;
}
.iot_text div button{
    color: white;
    margin: auto;
    width: 130px;
    height: 40px;
    background-color: #5ab79c;
    border-radius: 20px;
    border: none;
}


/* 猜你喜欢开始 */
.iot_guess_like{
    float: left;
    display: flex;
    flex-wrap: wrap;
    width: 100%;


}
.iot_guess_like_title p{
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    height: 20px;
    font-size: larger;
    font-weight: bolder;
}
.iot_guess_like div{
    background-color: white;
    margin: 4px;
    width: 48%;
    height: 250px;
    box-sizing: border-box;
    border-radius: 10%;
    display: flex;
    flex-wrap: wrap;
}

.iot_guess_like div div{
    width: 100%;
    height: 70%;
    box-sizing: border-box;
    display: flex;
    border: none;
}
.iot_guess_like div div a img{
    width: 90%;
    height: 90%;
    margin: auto;
    padding: 10px 0 0 10px;
}
.iot_guess_like div p{
    padding: 5px 0 0 5px;
    font-size: 14px;
    display: block;
    width: 100%;
    height: 20px;
    color: rgb(52, 50, 50);
    overflow: hidden;
}
.iot_guess_like div span{
    color: rgb(174, 22, 22);
    font-size: 15px;
    padding-left: 10px;
    margin-bottom: 20px;
    text-align: left;
    display: block;
    width: 100%;
    height: 10px;
}
/* 猜你喜欢结束 */
/* 主体部分结束 */


/* 底部部分开始 */
footer{
    max-width: 414px;
    position: fixed;
    display: flex;
    flex-wrap: wrap;
    bottom: 0;
    width: 100%;
    height: 100px;
    background-color: #ffffff;
    border-radius: 10px;
    z-index: 999;
 }
 .iot_pay{
    width: 100%;
    height: 44px;
    display: flex;
    flex-wrap: nowrap;
    background-color:transparent;
 }
 .iot_pay_checkbox{
    width: 50%;
    height: 100%;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
 }
 .iot_pay_checkbox input{
    width: 16px;
    height: 16px;
    margin-right: 10px;
 }
 .iot_pay_button{
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 20px;
 }
 .iot_pay_button button{
    width: 100px;
    height: 35px;
    border-radius: 17px;
    border: none;
    background-color:#5ab79c;
    color: white;
 }

 footer div{
    
    width: 25%;
    height: 100%;
    box-sizing: border-box;
 }
 footer div a span.active{
    background-color: #1d9f35;
 }
 footer div a {
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    display: flex;
    text-align: center;
    text-decoration: none;
    color: black;
 }
 footer div a span{
    display: block;
    width: 100%;
    font-size: 16px;
 }
 footer div a img{
    width: 30px;
    height: 30px;
 }